package org.vacoor.nothing.demo;

public interface Consumer<T> {

  Consumer EMPTY_CONSUMER = new Consumer() {
    public void consume(final Object t) {}
  };

  /**
   * @param t consequently takes value of each element of the set this processor is passed to for processing.
   * t is supposed to be a not-null value. If you need to pass {@code null}s to the consumer use {@link NullableConsumer} instead
   */
  void consume(T t);

}
